<%@ page import="com.wanghuadi.common.utils.DateUtil" %><%--
  Created by IntelliJ IDEA.
  User: wanghd
  Date: 2020/10/23
  Time: 11:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<html>
<head>
    <title>Title</title>
    <link href="<%=request.getContextPath()%>/css/css.css" rel="stylesheet">
    <script src="<%=request.getContextPath()%>/js/jquery-1.8.2.min.js"></script>
</head>
<body>
按姓名查询:<input type="text"><input type="button" value="查询">
快速查询:<a href="">查询过滤年龄20岁以上的学生</a>
<a href="">查询过滤理工类加分最多的学生</a>
<a href="">查询过滤文史类加分最多的学生</a>
<table>
    <tr>
        <td>ID</td>
        <td>学号</td>
        <td>姓名</td>
        <td>性别</td>
        <td>年龄</td>
        <td>类别</td>
        <td>学科</td>
        <td>学校</td>
        <td>加分类型</td>
        <td>加分数</td>
        <td>操作</td>
    </tr>
    <c:forEach items="${list}" var="s">
        <tr>
            <td>${s.id}</td>
            <td>${s.sno}</td>
            <td>${s.name}</td>
            <td>${s.gender.name}</td>
            <td>${s.age}</td>
            <td>${s.category.name}</td>
            <td>${s.subject.name}</td>
            <td>${s.school}</td>
            <td>${s.tname}</td>
            <td>${s.score}</td>
            <td>
               <a href="update.jsp?id=${s.id}"><input type="button" value="修改"></a>
                <input type="button" value="删除">
            </td>
        </tr>
    </c:forEach>
</table>

</body>
</html>
